// vue.config.js
module.exports = {
	devServer: {
		"port": 8081,
		"proxy": {
			"/test": {
				"target": "https://app.lgwisdomunion.cn",
				"pathRewrite": {
					"^/test": "/"
				},
				"secure": false,
				"changeOrigin": true
			},
			"/jf": {
				"target": "http://jf.lgwisdomunion.cn",
				//"target" : "http://lg.test",
				"pathRewrite": {
					"^/jf": "/"
				},
				"secure": false,
				"changeOrigin": true
			},
			"/api": {
				"target": "https://new.lgwisdomunion.cn",
				"pathRewrite": {
					"^/api": "/api"
				},
				"secure": false,
				"changeOrigin": true,
			},
			'/deepseek': {
				   "target": 'https://api.deepseek.com', // 确保地址正确
				   "changeOrigin": true,
				   "secure": false,
				   "pathRewrite": {
					 '^/deepseek': '', // 根据实际情况调整
				   },
				 },
		}
	}
}